package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum CouponDiscountType {
    reduction(0, "减免"),
    discount(1, "折扣");

    @EnumValue
    private final int code;
    private final String desc;

    CouponDiscountType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

}
